package com.crm.dao.mapper.opportunityManager;

import com.crm.model.entity.opportunityManager.Opportunity;
import com.crm.model.entity.opportunityManager.OpportunityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpportunityMapper {
    long countByExample(OpportunityExample example);

    int deleteByExample(OpportunityExample example);

    int deleteByPrimaryKey(String opportunityId);

    int insert(Opportunity record);

    int insertSelective(Opportunity record);

    List<Opportunity> selectByExample(OpportunityExample example);

    Opportunity selectByPrimaryKey(String opportunityId);

    int updateByExampleSelective(@Param("record") Opportunity record, @Param("example") OpportunityExample example);

    int updateByExample(@Param("record") Opportunity record, @Param("example") OpportunityExample example);

    int updateByPrimaryKeySelective(Opportunity record);

    int updateByPrimaryKey(Opportunity record);
}